package com.bckj.fastboot.iot.data.mongo.convert;

import com.bckj.fastboot.core.mapstruct.MapStructConfig;
import com.bckj.fastboot.iot.common.dto.request.IotBasicDataRequest;
import com.bckj.fastboot.iot.common.dto.response.IotBasicDataResponse;
import com.bckj.fastboot.iot.data.mongo.entity.IotBasicData;
import org.mapstruct.Mapper;

/**
 * IotBasicDataConvert
 *
 * @author wfc
 * @date 2025/11/5 10:21
 **/
@Mapper(config = MapStructConfig.class)
public interface IotBasicDataConvert {

    IotBasicData toEntity(IotBasicDataRequest request);

    IotBasicDataResponse toResponse(IotBasicData entity);
}
